package com.huirui.server.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 购物车中选中商品的信息实体类
 * 用于封装购物车中已选择商品的数量和价格信息
 */
@Data
@Schema(description = "购物车选中商品的信息，包含商品数量和价格")
public class ShippingCartSelectedProductInformationVo {

    /**
     * 商品数量
     */
    @Schema(description = "选中商品的数量", example = "2", type = "integer")
    private Long type;

    /**
     * 商品件数
     */
    @Schema(description = "选中商品的件数", example = "2", type = "integer")
    private Long piece;

    /**
     * 商品价格
     * 选中商品的总价，根据业务场景确定
     */
    @Schema(description = "商品的价格（总价）", example = "99.99", type = "number", format = "double")
    private Double price;
}
